<#assign css> </#assign>
<#assign js> </#assign>
<#import "/admin/common/home.html" as home>
<#escape x as (x)!"">
<@home.home pagecss=css pagejs=js>
<form action="list" id="pageListForm" method="post" class="form-inline">
	<div class="search">
		<div class="form-group">
			<input type="text" name="dictCode" value="${param.dictCode}" class="form-control" placeholder="请输入字典类型" />
		</div>
		<div class="form-group">
			<input type="text" name="dictName" value="${param.dictName}" class="form-control" placeholder="请输入字典名称" />
		</div>
		<div class="form-group">
			<a href="javascript:;" class="btn btn-search " id="btn-search">查询</a>
		</div>
	</div>
	
	<div class="main-container">
		<div class="toolbar">
			<a href="javascript:;" class="btn btn-primary" onclick="admin.dialog(this);" data-width="680" data-height="500" data-url="form" data-title="新增字典类型">新增字典类型</a>
			<a href="javascript:;" class="btn btn-delete"
				onclick="tab.del(this);" data-url="delete" data-tips="确定批量删除选中的字典类型吗？">批量删除</a>
		</div>
		<table class="table table-bordered table-hover">
			<caption class="caption none" id="chkedInfo">
				<div class="caption-table">
					你已经选择<em id="chkLength" class="chkNumber">0</em>条记录！ 
					<span class="none">选择的值是：<input type="text" name="chkTotal" id="chkTotalVal" value="" /></span>
				</div>
			</caption>
			<thead class="thead thead-more">
				<tr>
					<th class="ui-td-chk"><input type="checkbox" name="checkAll" id="chkAll" /></th>
					<th class="ui-td-no">序号</th>
					<th>字典类型</th>
					<th>字典名称</th>
					<th style="width:50%;">备注</th>
					<th class="ui-td-oper">操作</th>
				</tr>
			</thead>
			<tbody class="tbody mod-tbody">
				<#if page?? && page.list ?? && page.list?size gt 0>
				<#list page.list as item>
				<tr>
					<td class="ui-td-chk">
						<input type="checkbox" name="chkItem" value="${item.dictCode}" extVal="${item.dictCode}" />
					</td>
					<td class="ui-td-no">${item_index + 1}</td>
					<td>${item.dictCode}</a></td>
					<td>${item.dictName!''}</td>
					<td>${item.remarks!''}</td>
					<td class="ope-color">
						<a href="javascript:;" class="ui-link-edit" onclick="admin.iframe(this);" data-url="value/list?dictCode=${item.dictCode}" data-title="字典设置">字典设置</a>
						<a href="javascript:;" class="ui-ico-tips ui-ico-edit" onclick="admin.dialog(this);" data-width="680" data-height="500" title="编辑" data-url="form?dictCode=${item.dictCode}" data-title="编辑字典类型">编辑</a> 
						<a href="javascript:;" class="ui-ico-tips ui-ico-delete" onclick="tab.del(this);" title="删除" 
                        	data-id="${item.dictCode}" data-url="delete" data-tips="确定删除该字典类型吗？">删除</a> 
					</td>
				</tr>
				</#list>
				<#else>
				<tr>
					<td colspan="11"><p class="no-data">没有相关数据</p></td>
				</tr>
			</#if>
			</tbody>
		</table>
		<div class="ui-page">
			<#include "/admin/common/page.html">
		</div>
	</div>
</form>
</@home.home>
</#escape>